package org.example.constants;

/**
 * @author jingjing.zhang
 */

public enum BusiRspEnum {
    SUCESS("200","请求成功"),
    FAIL("511","请求失败"),
    INTERNAL_SERVER_ERROR("500","服务器内部异常"),
    PARAMTER_ERROR("400","参数异常"),
    ;

    private String code;
    private String msg;

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    BusiRspEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
